//
//  OwlSourceListViewController.h
//  Owl
//
//  Created by Tianzhou on 09-2-10.
//  Copyright 2009 Tianzhou Software Inc.. All rights reserved.
//

@class ChildNode;
@class OwlSourceListView;
#import <Cocoa/Cocoa.h>
#import "XSViewController.h"

@interface OwlSourceListViewController : XSViewController {
	IBOutlet NSTreeController	*sourceListController_;
	IBOutlet OwlSourceListView *sourceListView_;
	//NSMutableArray	*contents_;
	NSImage *folderImage_;
	NSTreeNode *projectRootNode_;
	NSIndexPath *projectRootIndexPath_;
	NSString *filterString_;
	//id observer_;

}

@property (assign,readonly) NSTreeController *sourceListController;
@property (assign,readwrite) NSString *filterString;
//@property (assign,readwrite) id sourceListObserver;
//- (void)addProjectRootNode;
//- (void)addNewProject;

//- (void)performAddChild:(ChildNode *)theNode;

//- (void)setContents:(NSArray *)newContents;
//- (NSMutableArray *)contents;

- (IBAction)importProject:(id)sender;

@end

@interface OwlNumberTransformer : NSValueTransformer
@end

@interface OwlStringTransformer : NSValueTransformer
@end


